<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>蓝色海岸主页</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="Bookmark" href="/favicon.ico">
<link rel="Shortcut Icon" href="/favicon.ico" />

<script type="text/javascript" src="H-ui.admin/lib/html5shiv.js"></script>
<script type="text/javascript" src="H-ui.admin/lib/respond.min.js"></script>

<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui.admin/skin/default/skin.css" id="skin" />

<script type="text/javascript"
	src="H-ui.admin/lib/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
	DD_belatedPNG.fix('*');
</script>

</head>

<body>
	<header class="navbar-wrapper">
	<div class="navbar navbar-fixed-top">
		<div class="container-fluid cl">
			<span class="logo navbar-slogan f-l mr-10 hidden-xs">角色：${sessionScope.user1.sywRole.name}</span>
			<span class="logo navbar-slogan f-l mr-10 hidden-xs">版本：SYW
				1.1</span> <a aria-hidden="false"
				class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
			<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
			<ul class="cl">
				<!-- <li>管理员</li> -->
				<li class="dropDown dropDown_hover"><a
					href="H-ui.admin/login.jsp" class="dropDown_A">切换账户<i
						class="Hui-iconfont">&#xe6d5;</i> </a>
					<ul class="dropDown-menu menu radius box-shadow">
						<li><a href="H-ui.admin/login.jsp">退出</a>
						</li>
					</ul></li>
				<li id="Hui-skin" class="dropDown right dropDown_hover"><a
					href="javascript:;" class="dropDown_A" title="换肤"><i
						class="Hui-iconfont" style="font-size:18px">&#xe62a;</i> </a>
					<ul class="dropDown-menu menu radius box-shadow">
						<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a>
						</li>
						<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a>
						</li>
						<li><a href="javascript:;" data-val="green" title="绿色">绿色</a>
						</li>
						<li><a href="javascript:;" data-val="red" title="红色">红色</a>
						</li>
						<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a>
						</li>
						<li><a href="javascript:;" data-val="orange" title="橙色">橙色</a>
						</li>
					</ul></li>
			</ul>
			</nav>
		</div>
	</div>
	</header>
	<aside class="Hui-aside">
	<div class="menu_dropdown bk_2">
		<s:if test='#session.user1.sywRole.name!="维修管理员" && #session.user1.sywRole.name!="财务"'>
			<dl id="menu-article">
				<dt>
					<i class="Hui-iconfont">&#xe616;</i> 开牌管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="handsActionfindHands" data-title="查看手牌"
							href="javascript:void(0)">查看手牌</a>
						</li>
						<s:if test='#session.user1.sywRole.name=="前台管理员" '>
							<li><a data-href="H-ui.admin/hands/beginHand.jsp"
								data-title="开牌" href="javascript:void(0)">开牌</a>
							</li>
							<li><a data-href="H-ui.admin/hands/endHand.jsp"
								data-title="退牌" href="javascript:void(0)">退牌</a>
							</li>
						</s:if>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name=="收银" '>
			<dl id="menu-picture">
				<dt>
					<i class="Hui-iconfont">&#xe613;</i> 收银管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="cashierActionfindCashierlist.action?pageNo=1&cashier.handsID=0" data-title="未结账"
							href="javascript:void(0)">未结账</a>
						</li>
						<li><a data-href="cashierActionfindCashierlistyzj.action?pageNo=1&cashier.handsID=0" data-title="已结账"
							href="javascript:void(0)">已结账</a>
						</li>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if
			test='#session.user1.sywRole.name=="休闲管理员" || #session.user1.sywRole.name=="保健管理员" '>
			<dl id="menu-comments">
				<dt>
					<i class="Hui-iconfont">&#xe622;</i> 技师管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="technicianActionfindTechnician"
							data-title="查看技师" href="javascript:;">查看技师</a>
						</li>
						<li><a data-href="H-ui.admin/technician/addtechnician.jsp"
							data-title="添加技师" href="javascript:;">添加技师</a>
						</li>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name!="维修管理员" && #session.user1.sywRole.name!="财务"'>
			<dl id="menu-member">
				<dt>
					<i class="Hui-iconfont">&#xe60d;</i> 消费管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a
							data-href="projectrecordActionfindAllProjectrecord?pageNo=1"
							data-title="查看消费" href="javascript:;">查看消费 </a>
						</li>
						<s:if test='#session.user1.sywRole.name=="休闲管理员" ||#session.user1.sywRole.name=="保健管理员" ||#session.user1.sywRole.name=="前台管理员"'>
							<li><a data-href="projectrecordActionfindprojectres"
								data-title="添加消费" href="javascript:;">添加消费</a>
							</li>
						</s:if>
					</ul>
				</dd>
			</dl>
			<dl id="menu-member">
				<dt>
					<i class="Hui-iconfont">&#xe60d;</i> 房间管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="houseActionfindHouse" data-title="查看房间 "
							href="javascript:;">查看房间</a>
						</li>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name=="值班经理" '>
			<dl id="menu-admin">
				<dt>
					<i class="Hui-iconfont">&#xe62d;</i> 项目管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="projectActionfindProject" data-title="查看项目"
							href="javascript:void(0)">查看项目</a>
						</li>
						<li><a data-href="projectActionadd" data-title="添加项目"
							href="javascript:void(0)">添加项目</a>
						</li>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name=="财务" '>
			<dl id="menu-picture">
				<dt>
					<i class="Hui-iconfont">&#xe613;</i> 财务管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="empActionfindEmpByYes?estate='在职'"
							data-title="员工工资" href="javascript:void(0)">员工工资</a>
						</li>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name=="值班经理" '>
			<dl id="menu-system">
				<dt>
					<i class="Hui-iconfont">&#xe62e;</i> 员工管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="empActionfindEmp" data-title="查看员工"
							href="javascript:void(0)">查看员工</a>
						</li>
						<li><a data-href="empActionadd" data-title="添加员工"
							href="javascript:void(0)">添加员工</a>
						</li>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if
			test='#session.user1.sywRole.name=="值班经理" || #session.user1.sywRole.name=="收银" || #session.user1.sywRole.name=="财务" '>
			<dl id="menu-system">
				<dt>
					<i class="Hui-iconfont">&#xe62e;</i> 奖罚管理<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="rewardrecordActionfindReward"
							data-title="查看奖罚" href="javascript:void(0)">查看奖罚</a>
						</li>
						<s:if test='#session.user1.sywRole.name!="财务"'>
							<li><a data-href="rewardrecordActionadd" data-title="添加罚单"
								href="javascript:void(0)">添加罚单</a>
							</li>
						</s:if>
					</ul>
				</dd>
			</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name!="财务" '>
		<dl id="menu-admin">
			<dt>
				<i class="Hui-iconfont">&#xe62d;</i> 维修管理<i
					class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
			</dt>
			<dd>
				<ul>
					<li><a data-href="maintainActionfindMaintains.action"
						data-title="待维修" href="javascript:void(0)">维修</a>
					</li>
					<s:if test='#session.user1.sywRole.name!="值班经理" '>
					<li><a data-href="H-ui.admin/Maintain/MaintainAdd.jsp"
						data-title="待维修" href="javascript:void(0)">添加报修单</a>
					</li>
					</s:if>
				</ul>
			</dd>
		</dl>
		</s:if>
		<s:if test='#session.user1.sywRole.name=="财务" '>
			<dl id="menu-sadmin">
				<dt>
					<i class="Hui-iconfont">&#xe61a;</i> 报表统计<i
						class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li><a data-href="mcountActionfindSywMcounts?pageNo=1"
							data-title="按摩项目统计" href="javascript:void(0)">按摩项目月统计</a></li>
					</ul>
				</dd>
			</dl>
		</s:if>
	</div>
	</aside>
	
	<div class="dislpayArrow hidden-xs">
		<a class="pngfix" href="javascript:void(0);"
			onClick="displaynavbar(this)"></a>
	</div>
	<div class="dislpayArrow hidden-xs">
		<a class="pngfix" href="javascript:void(0);"
			onClick="displaynavbar(this)"></a>
	</div>
	<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active"><span title="我的桌面" data-href="H-ui.admin/welcome.jsp">我的桌面</span>
					<em></em>
				</li>
			</ul>
		</div>
		<div class="Hui-tabNav-more btn-group">
			<a id="js-tabNav-prev" class="btn radius btn-default size-S"
				href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i> </a><a
				id="js-tabNav-next" class="btn radius btn-default size-S"
				href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i> </a>
		</div>
	</div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe scrolling="yes" frameborder="0" src="/H-ui.admin/welcome.jsp"></iframe>
		</div>
	</div>
	</section>

	<div class="contextMenu" id="Huiadminmenu">
		<ul>
			<li id="closethis">关闭当前</li>
			<li id="closeall">关闭全部</li>
		</ul>
	</div>
	<!--_footer 作为公共模版分离出去-->
	<script type="text/javascript"
		src="H-ui.admin/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="H-ui.admin/lib/layer/2.4/layer.js"></script>
	<script type="text/javascript"
		src="H-ui.admin/static/h-ui/js/H-ui.min.js"></script>
	<script type="text/javascript"
		src="H-ui.admin/static/h-ui.admin/js/H-ui.admin.js"></script>
	<!--/_footer 作为公共模版分离出去-->

	<!--请在下方写此页面业务相关的脚本-->
	<script type="text/javascript"
		src="H-ui.admin/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
	<script type="text/javascript">
		$(function() {

		});
		/*个人信息*/
		function myselfinfo() {
			layer.open({
				type : 1,
				area : [ '300px', '200px' ],
				fix : false, //不固定
				maxmin : true,
				shade : 0.4,
				title : '查看信息',
				content : '<div>管理员信息</div>'
			});
		}

		/*资讯-添加*/
		function article_add(title, url) {
			var index = layer.open({
				type : 2,
				title : title,
				content : url
			});
			layer.full(index);
		}
		/*图片-添加*/
		function picture_add(title, url) {
			var index = layer.open({
				type : 2,
				title : title,
				content : url
			});
			layer.full(index);
		}
		/*产品-添加*/
		function product_add(title, url) {
			var index = layer.open({
				type : 2,
				title : title,
				content : url
			});
			layer.full(index);
		}
		/*用户-添加*/
		function member_add(title, url, w, h) {
			layer_show(title, url, w, h);
		}
	</script>

	<!--此乃百度统计代码，请自行删除-->
	<script>
		var _hmt = _hmt || [];
		(function() {
			var hm = document.createElement("script");
			hm.src = "https://hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911";
			var s = document.getElementsByTagName("script")[0];
			s.parentNode.insertBefore(hm, s);
		})();
	</script>
</body>
</html>
